#ifndef UTL_H
#define UTL_H

#include "QObject"

class CUtl
{
public:
	CUtl();
	~CUtl();

public:
	int getParamFromBuffer(char* pData, quint16& uiParamVal);
	int addParam2Buffer(char* pData, quint16 uiParamVal);
	int addCRC2Buffer(uchar *pData, int iLen);
	quint16 CRC16(uchar *dat_buf, quint16 dat_len);

};

#endif // UTL_H